package com.sloth.bear.dto.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 待办事项响应VO
 */
@Data
public class TodoVo {

    private Long id;

    private Long categoryId;

    private String categoryName;

    private String content;

    private String status;

    private Boolean isTop;

    /**
     * 是否收藏
     */
    private Boolean isFavorite;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdTime;
}